import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 申请表单验证规则 */
export const applyFormRules = reactive<FormRules>({
  account_id: [
    {
      required: true,
      message: "请选择广告账号",
      trigger: "change"
    }
  ]
});

/** 处理表单验证规则 */
export const handleFormRules = reactive<FormRules>({
  state: [
    {
      required: true,
      message: "请选择处理状态",
      trigger: "change"
    }
  ],
  feedback_content: [
    {
      max: 500,
      message: "反馈内容不能超过500个字符",
      trigger: "blur"
    }
  ]
}); 